package com.example.covid19.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.time.LocalTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author BaiZhengChun
 * @since 2023-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("cheeck")
@ApiModel(value="Cheeck对象", description="")
public class Cheeck implements Serializable {

    private static final long serialVersionUID = 1L;

    public Cheeck() {}

    public Cheeck(Integer studentid, String istrue, LocalDate time,Integer drdk) {
        this.studentid = studentid;
        this.istrue = istrue;
        this.time = time;
        this.drdk = drdk;
    }

    @ApiModelProperty(value = "自增")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "每一天打卡记录的唯一标识，以寝室为主")
    @TableField("Enregisterid")
    private String Enregisterid;

    @ApiModelProperty(value = "打卡是否成功")
    private String istrue;

    @ApiModelProperty(value = "ip地址")
    private String ip;

    @ApiModelProperty(value = "打卡时间")
    private LocalDate time;

    @ApiModelProperty(value = "打卡地点")
    private LocalTime ttime;

    @ApiModelProperty(value = "学号")
    private Integer studentid;

    private Integer drdk;

    private LocalDate qdate;


}
